package com.sky.service;

import com.sky.dto.SetmealDTO;
import com.sky.dto.SetmealPageQueryDTO;
import com.sky.entity.Setmeal;
import com.sky.result.Result;
import com.sky.vo.DishItemVO;
import com.sky.vo.PageResult;
import com.sky.vo.SetmealVO;

import java.util.List;

/**
 * PROJECT_NAME: sky-take-out
 * NAME: SetmealService
 *
 * @AUTHOR: zhang
 * DATE: 2023/11/24
 * DESCRIPTION :
 */
public interface SetmealService {
    Result<PageResult> getPage(SetmealPageQueryDTO pageQueryDTO);

    void insertSetmeal(SetmealDTO setmealDTO);

    void deleteSetmeal(List<Long> ids);

    SetmealVO getSetmealById(Long id);

    void updateSetmeal(SetmealDTO setmealDTO);

    void updateSetmealStatus(Integer status, Long id);

    List<Setmeal> selectSetmealByCategoryId(Setmeal setmeal);

    List<DishItemVO> selectSetmealDishBySetmealId(Long setmealId);
}
